package com.pearl.mq.demo.jms;

import org.springframework.stereotype.Component;

/**
 * @author TangDan
 * @version 1.0
 * @since 2023/5/9
 */
@Component
public class MessageListener {

    //@JmsListener(destination = "myQueue")
    public void processMessage(String content) {
        System.out.println("接收到消息："+ content);
    }
}



